package com.xjscrm.console.chat.frame.recv;

import com.uzai.mobile.collect.api.dto.trigger.talk.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 会话回复消息
 *
 * @author mingyang.chen create in 2024/3/11 18:08
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class RReplyMsg extends RBaseMsg {

    @ApiModelProperty(value = "员工id", required = true)
    private Long staffId;

    @ApiModelProperty(value = "会话主键id", required = true)
    private Long talkSessionId;

    @ApiModelProperty(value = "聊天消息类型, 1:文本, 2:图片, 4:视频, 6:链接, 8:文件, 9:名片, 13:小程序, 14:表情 25: 视频号", required = true)
    private Integer contentType;

    @ApiModelProperty(value = "文本消息", required = true)
    private MicaTalkContentTextMsg textContent;

    @ApiModelProperty(value = "图片/视频/emoji(企微可能会有不同)", required = true)
    private MicaTalkContentUrlMsg urlContent;

    @ApiModelProperty(value = "文件", required = true)
    private MicaTalkContentFileMsg fileContent;

    @ApiModelProperty(value = "链接消息", required = true)
    private MicaTalkContentLinkMsg linkContent;

    @ApiModelProperty(value = "小程序消息", required = true)
    private MicaTalkContentMiniprogramMsg miniprogramContent;

    @ApiModelProperty(value = "视频号消息", required = true)
    private MicaTalkContentSphMsg sphContent;

    @ApiModelProperty(value = "名片消息", required = true)
    private MicaTalkContentNameCardMsg nameCardContent;

    @ApiModelProperty(value = "需要@的用户微信Id集合, 群聊时传递")
    private List<String> atWxIds;
}
